from django.urls import path
from . import views
from django.urls import path,re_path

urlpatterns = [
    # 购物车增删改查
    path("orders/settlement/",views.OrderView.as_view()),
    # 订单提交
    path("orders/commit/",views.CommitOrderView.as_view()),
    # 提交成功
    path("orders/success/",views.SuccessOrderView.as_view()),
    # 我的订单
    re_path("orders/info/(?P<page_num>\d+)/",views.MyOrderView.as_view()),
    re_path("comment/(?P<sku_id>\d+)/",views.DetailCommentView.as_view()),
    path('orders/comment/',views.CommentView.as_view()),
]
